FROM bitnami/java:21
WORKDIR /app
COPY ./ruoyi-modules/ruoyi-job/target/ruoyi-modules-job.jar /app/
COPY ./ruoyi-modules/ruoyi-job/src/main/resources/*.yml /app/config/
CMD ["java","-jar","ruoyi-modules-job.jar","--spring.config.location=config/"]